package com.scau.clothes.sale.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scau.clothes.sale.model.entity.Sale;
import com.scau.clothes.sale.model.entity.SaleClothes;
import com.scau.clothes.sale.model.entity.YearSales;
import com.scau.clothes.sale.model.entity.nameSale;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Mapper
public interface SaleClothesMapper extends BaseMapper<SaleClothes> {
    List<nameSale> selectSaleClothes(@Param("start") LocalDate start, @Param("end") LocalDate end);
    List<YearSales> selectYearSales(@Param("year") int year);
}
